<?php

    require('_header.php');
	
    $contacts = $db->get_results("SELECT id, prefix, first, last FROM contacts");
    echo json_encode($contacts);

?>